﻿<UserControl x:Class="Vision.Core.ActivityComponents.Common.TypeBrowserButton"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <UserControl.Resources>
        <ResourceDictionary>
            <DrawingBrush x:Key="InfoIcon" Stretch="Uniform">
                <DrawingBrush.Drawing>
                    <DrawingGroup>
                        <DrawingGroup.Children>
                            <GeometryDrawing Brush="#FF888888" Geometry="F1 M 142.778,174.722 C 148.58,174.722 153.283,178.423 153.283,182.989 153.283,187.129 149.414,190.559 144.366,191.161 144.288,191.645 144.262,192.132 144.328,192.622 144.478,193.752 145.113,194.904 145.748,196.056 144.285,195.13 142.821,194.204 141.96,193.074 141.504,192.476 141.217,191.821 141.01,191.138 136.05,190.477 132.273,187.08 132.273,182.989 132.273,178.423 136.976,174.722 142.778,174.722 M 145.143,188.118 L 145.143,187.527 144.802,187.455 144.503,187.342 C 144.375,187.283 144.277,187.196 144.21,187.08 144.142,186.964 144.108,186.822 144.108,186.656 L 144.108,180.981 143.997,180.875 140.413,181.023 140.413,181.614 140.913,181.713 141.323,181.877 C 141.443,181.953 141.543,182.053 141.623,182.179 141.703,182.304 141.743,182.45 141.743,182.616 L 141.743,186.753 C 141.743,186.927 141.713,187.067 141.654,187.174 141.595,187.281 141.493,187.363 141.348,187.42 L 141.056,187.491 140.708,187.527 140.708,188.118 145.143,188.118 M 144.108,178.219 C 144.108,177.851 143.978,177.536 143.718,177.275 143.458,177.014 143.145,176.884 142.78,176.884 142.417,176.884 142.104,177.014 141.841,177.275 141.579,177.536 141.447,177.851 141.447,178.219 141.447,178.585 141.579,178.898 141.841,179.157 142.104,179.415 142.417,179.545 142.78,179.545 143.14,179.545 143.452,179.415 143.714,179.157 143.977,178.898 144.108,178.585 144.108,178.219 Z" />
                        </DrawingGroup.Children>
                    </DrawingGroup>
                </DrawingBrush.Drawing>
            </DrawingBrush>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
        <Button Grid.Row="0" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center" Height="18" Width="18" Background="Transparent" BorderBrush="LightGray" Click="Button_Click">
            <Canvas  Height="16" Width="16" VerticalAlignment="Center" HorizontalAlignment="Center">
                <Canvas.Background>
                    <DrawingBrush>
                        <DrawingBrush.Drawing>
                            <DrawingGroup>
                                <DrawingGroup.Children>
                                    <GeometryDrawing Brush="#FF888888" Geometry="F1 M 142.778,174.722 C 148.58,174.722 153.283,178.423 153.283,182.989 153.283,187.129 149.414,190.559 144.366,191.161 144.288,191.645 144.262,192.132 144.328,192.622 144.478,193.752 145.113,194.904 145.748,196.056 144.285,195.13 142.821,194.204 141.96,193.074 141.504,192.476 141.217,191.821 141.01,191.138 136.05,190.477 132.273,187.08 132.273,182.989 132.273,178.423 136.976,174.722 142.778,174.722 M 145.143,188.118 L 145.143,187.527 144.802,187.455 144.503,187.342 C 144.375,187.283 144.277,187.196 144.21,187.08 144.142,186.964 144.108,186.822 144.108,186.656 L 144.108,180.981 143.997,180.875 140.413,181.023 140.413,181.614 140.913,181.713 141.323,181.877 C 141.443,181.953 141.543,182.053 141.623,182.179 141.703,182.304 141.743,182.45 141.743,182.616 L 141.743,186.753 C 141.743,186.927 141.713,187.067 141.654,187.174 141.595,187.281 141.493,187.363 141.348,187.42 L 141.056,187.491 140.708,187.527 140.708,188.118 145.143,188.118 M 144.108,178.219 C 144.108,177.851 143.978,177.536 143.718,177.275 143.458,177.014 143.145,176.884 142.78,176.884 142.417,176.884 142.104,177.014 141.841,177.275 141.579,177.536 141.447,177.851 141.447,178.219 141.447,178.585 141.579,178.898 141.841,179.157 142.104,179.415 142.417,179.545 142.78,179.545 143.14,179.545 143.452,179.415 143.714,179.157 143.977,178.898 144.108,178.585 144.108,178.219 Z" />
                                </DrawingGroup.Children>
                            </DrawingGroup>
                        </DrawingBrush.Drawing>
                    </DrawingBrush>
                </Canvas.Background>
            </Canvas>
        </Button>
    </Grid>
</UserControl>
